﻿

using System.Collections.ObjectModel;

namespace TotalApplication.Core
{
    public class ChatMessageListDesignViewModel : ChatMessageListViewModel
    {

        #region Singleton

        public static ChatMessageListDesignViewModel Instance => new ChatMessageListDesignViewModel();

        #endregion

        public ChatMessageListDesignViewModel()
        {
            Items = new ObservableCollection<ChatMessageListItemViewModel>
            {
                new ChatMessageListItemViewModel
                {
                    SenderName = "Parnell",
                    Message = "I'm about to wipe the old server, we need to update the old server to windows 2016",
                    Initial = "PL",
                    ProfilePictureRGB = "3099c5",
                    MessageSentTime = DateTimeOffset.UtcNow,
                    SentByMe = false
                },
                new ChatMessageListItemViewModel
                {
                    SenderName = "Luke",
                    Message = "Let me know when you manage to sign up the new 2016 server",
                    Initial = "LM",
                    ProfilePictureRGB = "3099c5",
                    MessageSentTime = DateTimeOffset.UtcNow,
                    MessageReadTime = DateTimeOffset.UtcNow.Subtract(TimeSpan.FromDays(1.3)),
                    SentByMe = true
                },
                new ChatMessageListItemViewModel
                {
                    SenderName = "Parnell",
                    Message = "The new server is upo. Go to 192.168.1.1 Username is admin, password is P8ssawovd",
                    Initial = "PL",
                    ProfilePictureRGB = "3099c5",
                    MessageSentTime = DateTimeOffset.UtcNow,
                    SentByMe = false
                },
            };
        }
    }
}
